﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Emulator.GameBoy.CPU.Interrupts
{
    public class InterruptTable
    {
        public static Dictionary<int, InterruptBase> InterruptDic = new Dictionary<int, InterruptBase>()
        {
            {0x1,new VBlankInterrupt()},
            {0x2,new LCDStatInterrupt()},
            {0x4,new TimerInterrupt()},
            {0x8, new SerialInterrupt()},
            {0x10,new JoypadInterrupt()}
        };
    }
}
